﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

[DataContract(IsReference = true)]
[KnownType(typeof(InPatient_Doc))]
public class InPatient_Doc
{
    private int _id;
    private string _pid;
    private int _textkind_id;
    private string _patients_doc;
    private int _belongtosys_id;
    private int _sickkind_id;
    private string _textname;
    private string _submitted;
    private string _createid;
    private string patient_id;
    private string ishighersign;
    private string havehighersign;
    private string havedoctorsign;
    private string highersignuserid;
    private string isreplacehighdoctor;
    private string isreplacehighdoctor2;
    private string docname;
    private string section_name;
    private string isnewpage;
    private string bed;

    /// <summary>
    /// 文书id
    /// </summary>
    [DataMember]
    public int Id
    {
        get { return _id; }
        set { _id = value; }
    }
    /// <summary>
    /// 病人id
    /// </summary>
    [DataMember]
    public string Pid
    {
        get { return _pid; }
        set { _pid = value; }
    }
    /// <summary>
    /// 文书类别id
    /// </summary>
    [DataMember]
    public int Textkind_id
    {
        get { return _textkind_id; }
        set { _textkind_id = value; }
    }
    /// <summary>
    /// 内容
    /// </summary>
    [DataMember]
    public string Patients_doc
    {
        get { return _patients_doc; }
        set { _patients_doc = value; }
    }
    /// <summary>
    /// 所属系统疾病ID
    /// </summary>
    [DataMember]
    public int Belongtosys_id
    {
        get { return _belongtosys_id; }
        set { _belongtosys_id = value; }
    }
    /// <summary>
    /// 病种类ID
    /// </summary>
    [DataMember]
    public int Sickkind_id
    {
        get { return _sickkind_id; }
        set { _sickkind_id = value; }
    }

    /// <summary>
    /// 是否 N 暂存 Y提交
    /// </summary>
    [DataMember]
    public string Submitted
    {
        get { return _submitted; }
        set { _submitted = value; }
    }

    /// <summary>
    /// 文书名称
    /// </summary>
    [DataMember]
    public string Textname
    {
        get { return _textname; }
        set { _textname = value; }
    }

    /// <summary>
    /// 病人主键
    /// </summary>
    [DataMember]
    public string Patient_id
    {
        get { return patient_id; }
        set { patient_id = value; }
    }

    /// <summary>
    /// 创建人
    /// </summary>
    [DataMember]
    public string Createid
    {
        get { return _createid; }
        set { _createid = value; }
    }


    /// <summary>
    /// 是否需要上级医生签名 Y 是 N否
    /// </summary>
    [DataMember]
    public string Ishighersign
    {
        get { return ishighersign; }
        set { ishighersign = value; }
    }

    /// <summary>
    /// 是否已经有上级医师签名
    /// </summary>
    [DataMember]
    public string Havehighersign
    {
        get { return havehighersign; }
        set { havehighersign = value; }
    }

    /// <summary>
    /// 是否有管床医生签字
    /// </summary>
    [DataMember]
    public string Havedoctorsign
    {
        get { return havedoctorsign; }
        set { havedoctorsign = value; }
    }

    /// <summary>
    /// 上级医师的ID
    /// </summary>
    [DataMember]
    public string Highersignuserid
    {
        get { return highersignuserid; }
        set { highersignuserid = value; }
    }

    /// <summary>
    /// 是否代替上级医师签名 0或空 否 1是
    /// </summary>
    [DataMember]
    public string Isreplacehighdoctor
    {
        get { return isreplacehighdoctor; }
        set { isreplacehighdoctor = value; }
    }

    /// <summary>
    /// 是否代替主任签名 0或空 否 1是
    /// </summary>
    [DataMember]
    public string Isreplacehighdoctor2
    {
        get { return isreplacehighdoctor2; }
        set { isreplacehighdoctor2 = value; }
    }

    /// <summary>
    /// 文书名称
    /// </summary>
    [DataMember]
    public string Docname
    {
        get { return docname; }
        set { docname = value; }
    }

    /// <summary>
    /// 科室名称
    /// </summary>
    [DataMember]
    public string Section_name
    {
        get { return section_name; }
        set { section_name = value; }
    }

    /// <summary>
    /// 是否需要分页打印 0 否 1是
    /// </summary>
    [DataMember]
    public string Isnewpage
    {
        get { return isnewpage; }
        set { isnewpage = value; }
    }

    /// <summary>
    /// 床号
    /// </summary>
    [DataMember]
    public string Bed
    {
        get { return bed; }
        set { bed = value; }
    }

}

